
package com.seeyon.apps.u8cloud.model;

import java.util.ArrayList;
import java.util.List;

/**
 * @ClassName : Voucher
 * @Description : 凭证
 * @CreateDate : 2025/8/18 12:48
 * @Author : CheungHowrAn
 * @Version : 1.0.0
 * @PackageName com.seeyon.apps.u8cloud.model
 * @Project : BSiEE本涩_A8_V9.0SP1
 */
public class Voucher {
    // 附单据数如果没有可以默认0
    private String attachment = "0";
    //凭证明细
    private List<Details> details = new ArrayList<>();
    //摘要信息也就是可以理解为备注信息
    private String explanation;
    //凭证是否手动修改了现金流量分析（如果传有现金流量【cashflow层】此属性传Y，如果没有传现金流量分析【cashflow层】，此属性不传或传N）
    private String hasCashflowModified="N";
    //传业务发生具体公司（业务单元/组织）编码
    private String pk_corp;
    //传业务发生具体公司（业务单元/组织）账簿编码
    private String pk_glorgbook;
    //制单人（对应u8c用户档案的用户编码）
    private String pk_prepared;
    //默认传 记账
    private String pk_vouchertype = "记账";
    //制单日期传输格式为：2025-08-17
    private String prepareddate;

    public void setAttachment(String attachment) {
        this.attachment = attachment;
    }

    public String getAttachment() {
        return attachment;
    }

    public void setDetails(List<Details> details) {
        this.details = details;
    }

    public List<Details> getDetails() {
        return details;
    }

    public void setExplanation(String explanation) {
        this.explanation = explanation;
    }

    public String getExplanation() {
        return explanation;
    }

    public void setHasCashflowModified(String hasCashflowModified) {
        this.hasCashflowModified = hasCashflowModified;
    }

    public String getHasCashflowModified() {
        return hasCashflowModified;
    }

    public void setPk_corp(String pk_corp) {
        this.pk_corp = pk_corp;
    }

    public String getPk_corp() {
        return pk_corp;
    }

    public void setPk_glorgbook(String pk_glorgbook) {
        this.pk_glorgbook = pk_glorgbook;
    }

    public String getPk_glorgbook() {
        return pk_glorgbook;
    }

    public void setPk_prepared(String pk_prepared) {
        this.pk_prepared = pk_prepared;
    }

    public String getPk_prepared() {
        return pk_prepared;
    }

    public void setPk_vouchertype(String pk_vouchertype) {
        this.pk_vouchertype = pk_vouchertype;
    }

    public String getPk_vouchertype() {
        return pk_vouchertype;
    }

    public void setPrepareddate(String prepareddate) {
        this.prepareddate = prepareddate;
    }

    public String getPrepareddate() {
        return prepareddate;
    }

}